const state = {
    count: 1,
}

const mutations = {
    COUNT: state => {
        state.count += 1
    }
}

const actions = {
    addCount({ commit }) {
        commit('COUNT')
    }
}

export default {
    namespaced: true,
    state,
    mutations,
    actions
}